package com.yidu.best.systemManagement.roleManagement.service;

import java.util.Map;

import com.yidu.best.systemManagement.roleManagement.domain.Role;
import com.yidu.best.systemManagement.roleManagement.domain.RoleVo;



public interface RoleService {
	
	/**
	 * 分页查询
	 */
	public Map<String,Object> findRole(RoleVo roleVo);
	
	/**
	 * 添加角色
	 * @param role
	 * @return
	 */
	public int addRole(Role role);
	
	/**
	 * 修改角色
	 * @param role
	 * @return
	 */
	public int updateRole(Role role);
	
	/**
	 * 删除角色
	 */
	
	public int deleteRole(String roleId);
}
